package org.zoomdev.zoom.dao;

import org.zoomdev.zoom.dao.impl.SimpleSelect;
import org.zoomdev.zoom.dao.impl.SqlConfig;

public interface SqlDriver {

    /**
     * 保护关键词
     *
     * @param sb
     * @param name
     */
    StringBuilder protect(StringBuilder sb, String name);


    void buildLimit(Entity<?> entity, SimpleSelect select, SqlConfig config);


    String getDatabaseName(String url);
}
